<?php /* Smarty version Smarty-3.1.13, created on 2013-12-26 14:40:21
         compiled from "E:\Apache\www\hyqx\admin\templates\defaults\sys_information_set.htm" */ ?>
<?php /*%%SmartyHeaderCode:635352bbcf5519aac9-95875029%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '7d6f9005cba82080c33167262a3dbbf90720f4c3' => 
    array (
      0 => 'E:\\Apache\\www\\hyqx\\admin\\templates\\defaults\\sys_information_set.htm',
      1 => 1387973838,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '635352bbcf5519aac9-95875029',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'title' => 0,
    'website' => 0,
    'template' => 0,
    'templates' => 0,
    'ipfilter' => 0,
    'index_model' => 0,
    'search_model' => 0,
    'index_movie' => 0,
    'sys_style' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.13',
  'unifunc' => 'content_52bbcf5520b068_78625818',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_52bbcf5520b068_78625818')) {function content_52bbcf5520b068_78625818($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title><?php echo $_smarty_tpl->tpl_vars['title']->value;?>
</title>
<script language="javascript" type="text/javascript"
	src="js/default/jquery-1.9.1.min.js"> </script>
<script language="javascript" type="text/javascript">
$=jQuery;
function selectIndexModel(){
	window.open('index_model_select.php','newwindow','height=530,width=1000,top=0,left=0,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no');
}
function selectSearchModel(){
	window.open('search_model_select.php','newwindow','height=530,width=1000,top=0,left=0,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no');
}
function selectIndexMovie(){
	window.open('index_movie_select.php','newwindow','height=530,width=1000,top=0,left=0,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no');
}

function checkSubmit()
{
	if($("#website").val()=='')
	{
		alert('域名不能为空！');
		return false;
	}
	}
</script>
<style>
/*主体*/
html,body {
	width:  100%;
	height: 100%;
	font-family: "微软雅黑";
	font-size: 13px;
	margin:0px;
	color:#333;
}
*{
margin:0px;
padding:0px;
}
#main {
    padding-left:20px;
    padding-top:1px;
	border: 1px double #aaa;
}

.division {
	border: 1px dotted #aaa;
}
a{
   text-decoration: none;
}
div{
 margin:2px;
 background:#EEFFEE;
}

.readonly{
  border:0;
  background:#EEFFEE;
}
.hide{
visibility: hidden;
}

#ipfilter{
width:450px;
height:48px;
overflow: auto;
}
#submit{
 padding-top:5px;
  padding-bottom:5px; 
}
</style>
</head>
<body>
	<div id="main">
		<form action="sys_information_set_save.php" method="post" id="forms" onSubmit="checkSubmit();">
		<span><img alt="必填" title="必填" src="images/system/flag.png" width="10px" height="10px">
			网站域名：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
		    <input id="website" name="website" type="text" size="50" value="<?php echo $_smarty_tpl->tpl_vars['website']->value;?>
"/>
		    	<div class="division"></div>
		<span><img alt="必填" title="必填" src="images/system/flag.png" width="10px" height="10px">
			网站风格：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
		<select name='template' id='template'>
		<?php  $_smarty_tpl->tpl_vars['templates'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['templates']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['template']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['templates']->key => $_smarty_tpl->tpl_vars['templates']->value){
$_smarty_tpl->tpl_vars['templates']->_loop = true;
?>   
				<option value='<?php echo $_smarty_tpl->tpl_vars['templates']->value;?>
'><?php echo $_smarty_tpl->tpl_vars['templates']->value;?>
</option>
				<?php } ?>
			</select>
				<div class="division"></div>
				<img alt="必填" title="必填" src="images/system/flag.png" width="10px" height="10px">
			<span>访问ip段设置:&nbsp;&nbsp;[允许访问的ip段,支持区间(可含*)和指定ip(可含*)两种格式,以“|”<br/>&nbsp;&nbsp;&nbsp;&nbsp;隔开,例如:202.117.179.110-202.117.179.120|210.27.*]</span><br/>
			&nbsp;&nbsp;<textarea name="ipfilter" id="ipfilter" ><?php echo $_smarty_tpl->tpl_vars['ipfilter']->value;?>
</textarea><br/>
			<div class="division"></div>
			
			<img alt="必填" title="必填" src="images/system/flag.png" width="10px" height="10px">
			<span>主页模版：&nbsp;&nbsp;<span class="hide">占</span></span>
			<input name="index_model" id="index_model" size="25"  value="<?php echo $_smarty_tpl->tpl_vars['index_model']->value;?>
" readonly="readonly"/><a href="javascript:" onclick="selectIndexModel();"><span>&nbsp;&nbsp;&nbsp;点击更换主页模版</span></a>
			<div class="division"></div>
			<img alt="必填" title="必填" src="images/system/flag.png" width="10px" height="10px">
			<span>搜索页模版：&nbsp;&nbsp;</span>
			<input name="search_model" id="search_model" size="25"  value="<?php echo $_smarty_tpl->tpl_vars['search_model']->value;?>
" readonly="readonly"/><a href="javascript:" onclick="selectSearchModel();"><span>&nbsp;&nbsp;&nbsp;点击更换搜索页模版</span></a>
			<div class="division"></div>
			<img alt="必填" title="必填" src="images/system/flag.png" width="10px" height="10px">
			<span>首页视频：&nbsp;&nbsp;<span class="hide">占</span></span>
			<input name="index_movie" id="index_movie" size="25"  value="<?php echo $_smarty_tpl->tpl_vars['index_movie']->value;?>
" readonly="readonly"/><a href="javascript:" onclick="selectIndexMovie();"><span>&nbsp;&nbsp;&nbsp;点击更换首页视频</span></a>
			<div class="division"></div>
			<script language="javascript" type="text/javascript">
			templates='<?php echo $_smarty_tpl->tpl_vars['sys_style']->value;?>
';
			$("#template").val(templates);
			</script>
			       <div align="center" id="submit"><input type="submit" title="保存" name="submit" value="保存" /></div>
	</form>
	</div>
</body>
</html><?php }} ?>